package com.huawei.statistics.service.index;

import com.huawei.statistics.pojo.index.Banner;
import com.huawei.statistics.vo.common.HttpResult;

import java.util.List;


public interface BannerService {

	List<Banner> getBannerList(int type);

	Banner findBannerById(Long id);
	
	HttpResult getBannerById(Long id);
	
	HttpResult addBanner(Banner banner);
	
	HttpResult delBanner(Long id);
	
	HttpResult update(Banner banner);
	

}
